home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML Construction Kit / Dynamic HTML Construction Kit.iso / source_code / dhtmlunl / dhtml.exe / CD Content / Chap12 / dun12_1.txt next >
Encoding:
Text File  |  1997-12-18  |  373 b   |  21 lines

  1. <HTML>
  2.  
  3. <HEAD>
  4.  
  5. <TITLE>relative positioning</TITLE>
  6.  
  7. </HEAD>
  8.  
  9. <STYLE TYPE="text/css">
  10.  
  11. .myClass{
  12.  
  13.     POSITION: relative;
  14.  
  15.     COLOR: red;
  16.  
  17.     FONT-SIZE: 40pt;
  18.  
  19.     FONT-FAMILY: sans-serif
  20.  
  21.     }
  22.  
  23. </STYLE>
  24.  
  25. <BODY>
  26.  
  27. Some standard text before the element
  28.  
  29. <DIV CLASS="myClass">
  30.  
  31. hello you
  32.  
  33. </DIV>
  34.  
  35. Some standard text after the element
  36.  
  37. </BODY>
  38.  
  39. </HTML>
  40.  
  41.